#include"array.h"
#include<algorithm>
#include<iostream>


int main(){
	size_t const N = 10;
	Array A(N);
	for (int i = 0; i < N; i++){
		A.set(i,i);
	}
	Array B(A);
	Array C(N);
	C = B;
	
	std::cout << "Araay C: ";
	for (int i = 0; i < N; i++){
		std::cout << C.get(i)<< " ";
	}

	std::cout << std::endl << "capacity(C) = " << C.get_capacity() << std::endl;
	std::cout << "size(C) = " << C.get_size() << std::endl;

	for (int i = 0; i < 3; i++){
		C.push_back(i);
	}

	std::cout << "capacity(C)= " << C.get_capacity() << std::endl;
	std::cout << "size(C)= " << C.get_size();

	return 0;

}

